package com.assignwork.mapper;

import com.assignwork.dto.SafeLibrarySearchDTO;
import com.assignwork.entity.SafeLibrary;
import com.assignwork.vo.SafeLibraryListVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @ClassName SafeLibraryMapper
 * @Description 安全知识库Mapper
 * @Author dujianyu
 * @Date 2023/12/24 16:10
 */
public interface SafeLibraryMapper extends BaseMapper<SafeLibrary> {
    /**
     * 分页
     * @param dto 搜索条件
     * @param page 分页
     * @return List<SafeLibraryListVO>
     * @author dujianyu
     * @since 2023/12/24 16:24
     */
    List<SafeLibraryListVO> selectSafeLibraryList(SafeLibrarySearchDTO dto, IPage page);
}
